<div class="hover <? echo $index % 2 ? 'even' : 'odd'; ?>">

	<?php
	$baseUrl = Yii::app()->request->baseUrl;
	$imageUrl = "$baseUrl/images/fugue";
	$properties = array(
		'items'=>array(
			array(
				'label'=>"<img src=\"$imageUrl/magnifier-zoom.png\" />",
				'url'=>array('view', 'id'=>$data->_id),
				'linkOptions'=>array('title'=>'View'),
			),
			array(
				'label'=>"<img src=\"$imageUrl/pencil.png\" />",
				'url'=>array('update', 'id'=>$data->_id),
				'linkOptions'=>array('title'=>'Update'),
			),
		),
		'htmlOptions'=>array(
			'class'=>'operations',
		),
		'encodeLabel'=>false,
	);
	$this->widget('zii.widgets.CMenu', $properties);
	?>
	
	<?php
	$src = "$baseUrl/files/registration/thumbnail/$data->_id.jpg";
	$alt = $data->name;
	$properties = array('class'=>'left');
	echo CHtml::image($src, $alt, $properties);
	?>

	<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
	<?php echo CHtml::encode($data->name); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('envoy')); ?>:</b>
	<?php echo CHtml::encode($data->envoy); ?>
	<?php echo CHtml::encode($data->envoyCity); ?>
	<br />

	<b>
		<?php echo CHtml::encode($data->getAttributeLabel('envoyProvince')); ?>:
	</b>
	<?php echo CHtml::encode($data->envoyProvince); ?>
	<br style="clear: both" />

</div>